package com.apes.scm.voucher.service.cost;

import com.apes.scm.account.account.model.InventoryVo;
import com.apes.scm.voucher.model.VoucherItem;
import lombok.Data;

import java.util.Set;

/**
 * 功能：成本核算/价值评估执行上下文
 *
 * @author xul
 * @create 2018-12-27 10:33
 */
@Data
public class CostContext {

    /**
     * 待评估业务数据
     **/
    private InventoryVo inventoryVo;

    private VoucherItem voucherItem;

    /**
     * 评估结果
     **/
    private Set<InventoryVo> inventoryVos;

    public CostContext(VoucherItem voucherItem, InventoryVo inventoryVo) {
        this.voucherItem = voucherItem;
        this.inventoryVo = inventoryVo;
    }
}
